package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by 13925 on 2018/10/28.
 */

/**
 * 地区服务层
 */
public interface IRegionService {


    List<Region> getRegionByParentId(String parentId);

    void saveOrUpdate(Region region);

    /**
     * 查询地区名称
     * @return
     */
    List<Region> selectAll();

    List<Region> listByState(Long  state);
}
